<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/pages/template/layoutBusca.xhtml">

<ui:define name="body">

	<h:form prependId="false">
	
		<h:panelGroup layout="block">
		
			<h:panelGroup layout="block" styleClass="divLabelForm">
				<h:outputLabel value="#{msg['label.login']}"></h:outputLabel>
			</h:panelGroup>
			<h:panelGroup layout="block" styleClass="divInputForm">
				<p:inputText value="${loginAction.userName}" size="40" />
			</h:panelGroup>
			
			<h:panelGroup layout="block" styleClass="divLabelForm">
				<h:outputLabel value="#{msg['label.senha']}"></h:outputLabel>
			</h:panelGroup>
			<h:panelGroup layout="block" styleClass="divInputForm">
				<h:inputSecret value="${loginAction.password}" styleClass="ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" size="40"  />
			</h:panelGroup>
			
			<h:panelGroup layout="block" styleClass="buttonFormBar">
				<h:panelGroup layout="block" styleClass="divInputForm">
					<p:commandLink ajax="false" action="#{loginAction.logarAdmin}" update=":msgSistemaGeral">
						<h:graphicImage value="/img/btn_acessar.png" />
					</p:commandLink>
				</h:panelGroup>
			</h:panelGroup>
		
		</h:panelGroup>
	
	</h:form>
	
</ui:define>
</ui:composition>